package com.dinim.matrix;

public class Vector extends Matrix {

	public static final int FRIST_COLUMN = 0;
	
	public Vector(int i) {
		super(i, 1);
	}

	public Vector(double[] values){
		super(createValueArray(values));
	}
	
	private static double[][] createValueArray(double[] values){
		double[][] newValues = new double[values.length][1];
		
		for (int i = 0; i < values.length; i++) {
			newValues[i][0] = values[i];
		}
		
		return newValues;
	}
	
}
